// import { DefaultTheme } from "styled-components";

import LightTheme from './light';
import DarkTheme from './dark';

import { Theme, AppDefaultTheme } from '../types';

const themeMapping = {
    light: LightTheme,
    dark: DarkTheme,
};

export const getTheme = (theme: Theme): AppDefaultTheme => {

    if (theme === Theme.Dark) {
        return themeMapping.dark;
    } else {
        return themeMapping.light;
    }
};

export default themeMapping;
